package cn.gjxblog.api;

import cn.gjxblog.common.model.HttpResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/4/24 8:58
 */
@FeignClient(value = "common-server")
public interface SmsServiceFegin {

    @GetMapping("/sms/sendSms")
    HttpResult sendSms(@RequestParam("code") String code,@RequestParam("phone") String phone);

}
